#pragma once
#include <iostream>
#include <string>
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
#include "Arena.h"

using namespace std;

class creature
{
protected:
	int mXPosition;
	int mYPosition;
	ALLEGRO_BITMAP* m_bitmap;
	int m_width;
	int m_height;
	Arena* map;
	bool isRemoved;
	bool m_going_down;
	bool m_going_up;
	bool m_going_right;
	bool m_going_left;
	int m_current_frame;
public:
	creature(string filename, Arena* level);
	~creature();
	int getX();
	int getY();
	void up();
	void down();
	virtual void left();
	virtual void right();
	void nextframe();
	void render();
	
};